set(src
    "framework.c"
    "commu/commu.c"
    "commu/commu_route.c"
    "bsp/bsp_uart.c"
    "connectivity/bluetooth.c"
    "fifo/fifo.c"
    "device_manager/device_manager.c"
    "mpc/mpc.c"
    # "memory/m_memory.c"
)

set(inc
    "."
    "commu"
    "mpc"
    "bsp/include"
    "connectivity"
    "fifo"
    "device_manager"
    "mpc"
    # "memory"
)

idf_component_register(
    SRCS ${src}
    INCLUDE_DIRS ${inc}
    PRIV_REQUIRES esp_driver_uart nvs_flash bt esp_common
)
